package com.tb.mapper;

import com.tb.model.QComment;
import com.tb.model.QCommentExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface QCommentMapper {
    int countByExample(QCommentExample example);

    int deleteByExample(QCommentExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(QComment record);

    int insertSelective(QComment record);

    List<QComment> selectByExample(QCommentExample example);

    QComment selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") QComment record, @Param("example") QCommentExample example);

    int updateByExample(@Param("record") QComment record, @Param("example") QCommentExample example);

    int updateByPrimaryKeySelective(QComment record);

    int updateByPrimaryKey(QComment record);
}